#include "MCharacter.h"

MCharacter::MCharacter()
{
    this->pos_x = 0; // Modifié
    this->pos_y = 0; // Modifié
    this->position = 0; // Modifié
}

MCharacter::~MCharacter()
{

}

int MCharacter::get_id()
{
    return this->id;
}

QString MCharacter::get_username()
{
    return this->username;
}

QString MCharacter::get_map_ip()
{
    return this->map_ip;
}

QString MCharacter::get_map_port()
{
    return this->map_port;
}

QString MCharacter::get_map_name()
{
    return this->map_name;
}

int MCharacter::get_exp()
{
    return this->exp;
}

int MCharacter::get_level()
{
    return this->level;
}

QString MCharacter::get_bonus()
{
    return this->bonus;
}

int MCharacter::get_pos_x()
{
    return (this->pos_x);
}

int MCharacter::get_pos_y()
{
    return (this->pos_y);
}

int MCharacter::get_position()
{
    return (this->position);
}

QString MCharacter::get_direction()
{
    return (this->direction);
}

void MCharacter::set_id(int id)
{
    this->id = id;
}

void MCharacter::set_username(QString username)
{
    this->username = username;
}

void MCharacter::set_map_ip(QString ip)
{
    this->map_ip = ip;
}

void MCharacter::set_map_port(QString map_port)
{
    this->map_port = map_port;
}

void MCharacter::set_map_name(QString map_name)
{
    this->map_name = map_name;
}

void MCharacter::set_exp(int exp)
{
    this->exp = exp;
}

void MCharacter::set_level(int level)
{
    this->level = level;
}

void MCharacter::set_bonus(QString bonus)
{
    this->bonus = bonus;
}

void MCharacter::set_pos_x(int pos_x)
{
    this->pos_x = pos_x;
}

void MCharacter::set_pos_y(int pos_y)
{
    this->pos_y = pos_y;
}

void MCharacter::set_position(int position)
{
    this->position = position;
}

void MCharacter::set_direction(QString direction)
{
    this->direction = direction;
}
